<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>饮品菜单</title>
    <style>
        ul {
            list-style: none; 
            margin: 0;
            padding: 0;
        }

        .menu {
            display: block; 
        }
        .menu-item {
            position: relative; 
            padding: 10px 20px; 
            cursor: pointer; 
            display: inline-block;
        }
        .submenu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #fff;
            border: 1px solid #ccc; 
            padding: 10px;
            min-width: 100%;
            z-index: 1; 
        }

        .menu-item:hover .submenu {
            display: block;
        }

        .submenu li{
            padding: 5px 0px;
        }
    </style>
</head>
<body>
    <div style="text-align: center;">
        <ul class="menu">
            <li class="menu-item">
                奶茶
                <ul class="submenu">
                    <li>经典奶茶</li>
                    <li>珍珠奶茶</li>
                    <li>抹茶奶茶</li>
                </ul>
            </li>
            <li class="menu-item">
                果茶
                <ul class="submenu">
                    <li>柠檬果茶</li>
                    <li>芒果果茶</li>
                    <li>草莓果茶</li>
                </ul>
            </li>
            <li class="menu-item">
                咖啡
                <ul class="submenu">
                    <li>美式咖啡</li>
                    <li>拿铁咖啡</li>
                    <li>摩卡咖啡</li>
                </ul>
            </li>
        </ul>
    </div>
</body>
</html>
